<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style>
			ul{
				list-style-type: none;
			}
			ul>li{				
				height: 30px;
				position: relative;
			}
			ul>li>a{
				line-height: 30px;
			}
			ul>li>a:after{
				content: "-百度文库";
			}
			ul>li>a[href$="doc"]:before{
				content: "";
				display: inline-block;
				width: 30px;
				height: 30px;
				background-image:url(img/word.png);
				background-size: cover;
				position: absolute;
				left: -30px;
				
			}
			ul>li>a[href$="ppt"]:before{
				content: "";
				display: inline-block;
				width: 30px;
				height: 30px;
				background-image:url(img/ppt.png);
				background-size: cover;
				position: absolute;
				left: -30px;
				
			}
			ul>li>a[href$="pdf"]:before{
				content: "";
				display: inline-block;
				width: 30px;
				height: 30px;
				background-image:url(img/pdf.png);
				background-size: cover;
				position: absolute;
				left: -30px;
				
			}
		</style>
	</head>
	<body>
		<ul>
			<li><a href="xxxx.doc">文件名称</a></li>
			<li><a href="xxxx.ppt">文件名称</a></li>
			<li><a href="xxxx.pdf">文件名称</a></li>
			<li><a href="xxxx.ppt">文件名称</a></li>
			<li><a href="xxxx.doc">文件名称</a></li>
			<li><a href="xxxx.pdf">文件名称</a></li>
			<li><a href="xxxx.doc">文件名称</a></li>
		</ul>
	</body>
</html>
